package com.work.yly.website.service;

import java.util.Map;
import java.util.Properties;

import com.google.common.collect.Maps;

public class Constant {
	public static final Properties webconfig = new Properties();

	public static final String CHARSET = "utf-8";

	private static String serviceUrl = "";
	public static String getServiceUrl() {
		if("".equals(serviceUrl)){
			serviceUrl = webconfig.getProperty("service.host");
		}
		return serviceUrl;
	}
	
	public static Map<String, String> bankDef(){
		Map<String, String> map = Maps.newLinkedHashMap();
		map.put("中国建设银行", "中国建设银行");
		map.put("中国工商银行", "中国工商银行");
		map.put("中国银行", "中国银行");
		return map;
	}
	
	public static Map<String, String> jtLxrGxDef(){
		Map<String, String> map = Maps.newLinkedHashMap();
		map.put("父亲", "父亲");
		map.put("母亲", "母亲");
		map.put("兄弟", "姐妹");
		return map;
	}
	
	public static Map<String, String> jjLxrGxDef(){
		Map<String, String> map = Maps.newLinkedHashMap();
		map.put("朋友", "朋友");
		map.put("同学", "同学");
		map.put("同事", "同事");
		return map;
	}
	
	public static Map<String, String> dwxzDef(){
		Map<String, String> map = Maps.newLinkedHashMap();
		map.put("国有企业", "国有企业");
		map.put("民营企业", "民营企业");
		map.put("外资企业", "外资企业");
		return map;
	}
	
	public static Map<String, String> fczkDef(){
		Map<String, String> map = Maps.newLinkedHashMap();
		map.put("有住房", "有住房");
		map.put("无住房", "无住房");
		map.put("有贷款住房", "有贷款住房");
		return map;
	}

	public static Map<String, String> hyzkDef(){
		Map<String, String> map = Maps.newLinkedHashMap();
		map.put("未婚", "未婚");
		map.put("已婚", "已婚");
		map.put("离异", "离异");
		return map;
	}

	public static Map<String, String> xlqkDef(){
		Map<String, String> map = Maps.newLinkedHashMap();
		map.put("博士后", "博士后");
		map.put("博士", "博士");
		map.put("硕士", "硕士");
		return map;
	}

}
